package com.zscat.mallplus.service.pms.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zscat.mallplus.entity.dto.BusinessReviewReplyDto;
import com.zscat.mallplus.entity.vo.pms.PmsProductConsultInfoVo;
import com.zscat.mallplus.entity.vo.pms.PmsProductReplyInfoVo;
import com.zscat.mallplus.pms.entity.PmsFavorite;
import com.zscat.mallplus.pms.entity.PmsProductConsult;
import com.zscat.mallplus.pms.entity.PmsProductReply;
import com.zscat.mallplus.ums.entity.UmsMember;
import com.zscat.mallplus.utils.CommonResult;
import com.zscat.mallplus.vo.PageInfo;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zscat
 * @since 2019-06-15
 */
public interface IPmsFavoriteService extends IService<PmsFavorite> {
    int addProduct(PmsFavorite productCollection);


    List<PmsFavorite> listProduct(Long memberId, int type);

    List<PmsFavorite> listCollect(Long memberId);

    PmsProductReply businessReviewReply(UmsMember newCurrentMember, Long id, String content);

    CommonResult reviewReplyPraise(Long memberId, Long id, Integer praiseType);

    PmsProductConsultInfoVo getReplyInfo(Long id, Long memberId);

    PageInfo<PmsProductReplyInfoVo> getReplySonInfo(Long id, Integer pageNum, Integer pageSize);
}
